import axios from 'axios'
export default {
  /**
   * @param {Number} catelogid
   * @param {Object} params
   */
  getList (catelogid, params) {
    return axios.get('/api/course/homeworks/bycatelogid/' + catelogid, {
      params: params
    })
  },
  getVideoList () {
    return axios.get('/api/homework/homeworks/bycatelogid/:catelogid', {
      params: {
        studentid: ':studentid',
        from: ':from',
        'size:': 'size'
      }
    })
  }
}
